/* components/deck-card-item/deck-card-item.component.wxss */
:host {
  display: inline-flex;
}

.item {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  padding: 2px;
  width: 250rpx;
  height: 350rpx;

  .cover {
    width: 100%;
    height: 100%;
  }

  .item-hint {
    position: absolute;
    bottom: 1.1rem;
    height: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;

    .item-hint-text {
      display: inline-flex;
      justify-content: center;
      align-items: center;
      width: 1.5rem;
      height: 1rem;
      color: white;
      background-color: rgba($color: #000000, $alpha: 0.5);
      border-bottom: 2px solid var(--color-light);
    }
  }


  .item-hint.display {
    bottom: 0;
    justify-content: left;
    height: 1rem;

    .item-hint-text {
      border: none;
    }
  }

}

.item.small {
  padding: 0.125rem;
  width: 187.5rpx;
  height: 262.5rpx;
}

.btn-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
}

.detail {
  box-sizing: border-box;
  position: relative;
  width: 720rpx;
  padding: 10rpx;
  // height: 975rpx;

  .cover {
    width: 100%;
    height: 100%;
  }

  .info {
    position: absolute;
    left: 55rpx;
    width: 610rpx;
    min-height: 300rpx;
    bottom: 105rpx;
    display: inline-block;
    box-sizing: border-box;

    .card {
      box-sizing: border-box;
      min-height: 225rpx;
      width: 100%;
      border-radius: 4px;
      background-color: rgba($color: #000000, $alpha: 0.85);
      padding: 2px;
      border: 1px solid #333;
    }

    .block {
      display: block;
      width: 100%;
      height: 1rpx;
    }

    .inline {
      display: inline;
      position: relative;
      word-break: break-all;

      .inline-text {
        font-size: 10px;
        color: #dddddd;
      }
    }

    .inline.img {
      display: inline-block;
      padding: 0 2px;
      height: 10px;

      .inline-img {
        height: 12px;
        vertical-align: middle;
      }
    }
  }

  .info.Active,
  .info.Raid,
  .info.Color,
  .info.Final {
    min-height: 225rpx;
    bottom: 185rpx;
  }

  .info.Get,
  .info.Draw,
  .info.Special {
    min-height: 260rpx;
    bottom: 150rpx;
  }

  .trigger {
    position: absolute;
    left: 45rpx;
    width: 610rpx;
    height: 40rpx;
    bottom: 110rpx;
    color: black;
    background-color: rgba($color: #ffffff, $alpha: 0.9);
  }
}

.transparent {
  opacity: 0;
}